taskUtilsTest is package {
  import task;
  
  testBackground() do {
    completorT is backgroundF(taskReturn(21));
    t is taskBind(completorT,
      (function (completor) is 
        taskBind(completor,
          (function (v) is taskReturn(v*2)))));
    res is executeTask(t, raiser_fun);
    assert(res = 42);
  }

  main() do {
    testBackground();
  }
}
